// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_MAILSERVER_CONFIG
// * CreateDate    : 2014-06-05 18:30:15
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:15
// * LastChanger   : 2014-06-05 18:30:15
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstMailserverConfigTable : TableInfo
    {
		public const string C_TableName = "MST_MAILSERVER_CONFIG";
		
		public const string C_ID = "ID";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_INCOMING_IS_SSL = "INCOMING_IS_SSL";
		public const string C_OUTGOING_IS_SSL = "OUTGOING_IS_SSL";
		public const string C_ACC_TYPE = "ACC_TYPE";
		public const string C_IN_SERVER = "IN_SERVER";
		public const string C_IN_PORT = "IN_PORT";
		public const string C_IN_PORT_ENABLED = "IN_PORT_ENABLED";
		public const string C_OUT_SERVER = "OUT_SERVER";
		public const string C_OUT_PORT = "OUT_PORT";
		public const string C_OUT_PORT_ENABLED = "OUT_PORT_ENABLED";
		public const string C_ENC_TYPE = "ENC_TYPE";
		public const string C_OUTGOING_NEEDS_AUTHENTICATION = "OUTGOING_NEEDS_AUTHENTICATION";
		
		public MstMailserverConfigTable()
        {
            _tableName = "MST_MAILSERVER_CONFIG";
        }
		
		protected static MstMailserverConfigTable _current;
        public static MstMailserverConfigTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstMailserverConfigTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_INCOMING_IS_SSL, new ColumnInfo(C_INCOMING_IS_SSL,"IncomingIsSsl", false, typeof(int)));
            _current.Add(C_OUTGOING_IS_SSL, new ColumnInfo(C_OUTGOING_IS_SSL,"OutgoingIsSsl", false, typeof(int)));
            _current.Add(C_ACC_TYPE, new ColumnInfo(C_ACC_TYPE,"AccType", false, typeof(int)));
            _current.Add(C_IN_SERVER, new ColumnInfo(C_IN_SERVER,"InServer", false, typeof(string)));
            _current.Add(C_IN_PORT, new ColumnInfo(C_IN_PORT,"InPort", false, typeof(int)));
            _current.Add(C_IN_PORT_ENABLED, new ColumnInfo(C_IN_PORT_ENABLED,"InPortEnabled", false, typeof(int)));
            _current.Add(C_OUT_SERVER, new ColumnInfo(C_OUT_SERVER,"OutServer", false, typeof(string)));
            _current.Add(C_OUT_PORT, new ColumnInfo(C_OUT_PORT,"OutPort", false, typeof(int)));
            _current.Add(C_OUT_PORT_ENABLED, new ColumnInfo(C_OUT_PORT_ENABLED,"OutPortEnabled", false, typeof(int)));
            _current.Add(C_ENC_TYPE, new ColumnInfo(C_ENC_TYPE,"EncType", false, typeof(int)));
            _current.Add(C_OUTGOING_NEEDS_AUTHENTICATION, new ColumnInfo(C_OUTGOING_NEEDS_AUTHENTICATION,"OutgoingNeedsAuthentication", false, typeof(int)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo INCOMING_IS_SSL
        {
            get { return this[C_INCOMING_IS_SSL]; }
        }
		
		public ColumnInfo OUTGOING_IS_SSL
        {
            get { return this[C_OUTGOING_IS_SSL]; }
        }
		
		public ColumnInfo ACC_TYPE
        {
            get { return this[C_ACC_TYPE]; }
        }
		
		public ColumnInfo IN_SERVER
        {
            get { return this[C_IN_SERVER]; }
        }
		
		public ColumnInfo IN_PORT
        {
            get { return this[C_IN_PORT]; }
        }
		
		public ColumnInfo IN_PORT_ENABLED
        {
            get { return this[C_IN_PORT_ENABLED]; }
        }
		
		public ColumnInfo OUT_SERVER
        {
            get { return this[C_OUT_SERVER]; }
        }
		
		public ColumnInfo OUT_PORT
        {
            get { return this[C_OUT_PORT]; }
        }
		
		public ColumnInfo OUT_PORT_ENABLED
        {
            get { return this[C_OUT_PORT_ENABLED]; }
        }
		
		public ColumnInfo ENC_TYPE
        {
            get { return this[C_ENC_TYPE]; }
        }
		
		public ColumnInfo OUTGOING_NEEDS_AUTHENTICATION
        {
            get { return this[C_OUTGOING_NEEDS_AUTHENTICATION]; }
        }
		
		
		
	}
}

